package com.cj.DesignMode.single.enumss;

public enum Singleton {
    INSTANCE;  
    public void whateverMethod() {
        System.out.println("instance");
    }

    public static void main(String[] args) {
        Singleton.INSTANCE.whateverMethod();
    }
}